package com.wavehi.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

/**
 * @Author WaveHi
 * @Date 14/9/2021 下午 4:49
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
public class MyFirstListener implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent sce) {
        System.out.println("There is a servlet made.");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
        System.out.println("There is a servlet destroyed.");
    }
}
